123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 문진 질문은행
- * 설 명 :
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>문진지별 질문선택</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <condition>
- <instcd/>
- <qrcl/>
- <wkdate/>
- <flag/>
- <inqrrptid/>
- <sexflag/>
- <rptclsf/>
- <cpinqrrptid/>
- <inqrqestid/>
- <langflag/>
- </condition>
- <list>
- <amqblist/>
- <amitlist/>
- <treevalue/>
- <amawlist/>
- </list>
- </main>
- <hidden>
- <dspcontrol>
- </dspcontrol>
- </hidden>
- <tmp>
- </tmp>
- <send>
- <amitlist/>
- <langlst/>
- </send>
- <disply>
- <qrcllst/>
- <langlst/>
- <rptqrcl>
- <trdpth/>
- <ajclscd/>
- <ajclsnm/>
- </rptqrcl>
- </disply>
- <init>
- <A0008list>
- <A0008>
- <cdnm/>
- <cdid/>
- </A0008>
- </A0008list>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- // fAuthCheck(btn_save);
-
- // fDefaultSubmit();
- // fDefaultSet();
- // model.refresh();
- model.refresh();
- ]]>
- </script>
- <submission id="TRAHB04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/langlst" resultref="/root/disply/langlst"/>
- <submission id="TRAHB04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/langlst" resultref="/root/disply/langlist"/>
- <submission id="TRAHB04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/disply/qrcllst"/>
- <submission id="TRAHB04604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/main/list/amqblist"/>
- <submission id="TXAHB04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/amitlist" resultref="/root/tmp"/>
- <submission id="TRAHB04702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/disply/rptqrcl"/>
- <submission id="TRAHB04703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/main/list/amitlist"/>
- <submission id="TXAHB04704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/tmp"/>
- <submission id="TRAHB04605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/condition" resultref="/root/main/list/amawlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInit(){
- model.removeNodeset("/root/main/list/amqblist");
- model.removeNodeset("/root/main/list/amitlist");
- model.removeNodeset("/root/main/list/treevalue");
- model.removeNodeset("/root/disply/rptqrcl");
- var instcd = getUserInfo("dutplceinstcd");
- model.setValue("/root/main/condition/instcd",instcd);
-
- var sToday = getCurrentDate().toString();
- model.setValue("/root/main/condition/wkdate",sToday);
- model.setValue("/root/main/condition/qrcl","");
- model.setValue("/root/main/condition/inqrrptid","");
- model.setValue("/root/main/condition/sexflag","");
-
- model.setValue("/root/main/condition/sexflag","C");
-
- /* 문진지 콤보박스 세팅 */
- model.setValue("/root/main/condition/flag","QRFM")
- model.resetInstanceNode("/root/send/langlst");
- //model.removeNodeset("/root/send/langlst");
- model.copyNode("/root/send/langlst", "/root/main/condition");
- submit("TRAHB04201",false);
-
- // -- 문진언어 combo box에 setting
- // model.setValue("/root/main/condition/flag","LANG")
- // model.makeNode("/root/send/langlst");
- // model.copyNode("/root/send/langlst", "/root/main/condition");
- // submit("TRAHB04101",false); // 문진언어
-
- /* 질문은행 문진분류 콤보박스 세팅 */
- submit("TRAHB04601",false); // 문진분류
- }//fInit() END
-
- // ----------------------------------------------------
- // 질문은행 내용 조회
- // ----------------------------------------------------
- function fRetriveAmqbList()
- {
- var inqrrptid = model.getValue("/root/main/condition/inqrrptid");
- if(inqrrptid == ""){
- messageBox("문진지를 선택하세요", "E999"); return false;
- }else{
- model.removeNodeset("/root/main/list/amqblist");
- model.resetInstanceNode("/root/hidden/dspcontrol/amqbCurrow");
- submit("TRAHB04604",false); // 질문내용조회
- }
- }//fRetriveAmqbList end
- // ----------------------------------------------------
- // 문진지 질문내용 조회
- // ----------------------------------------------------
- function fRetriveAmitList(rowNum)
- {
- model.removeNodeset("/root/main/list/amitlist");
- model.resetInstanceNode("/root/hidden/dspcontrol/amawCurrow");
-
- var sInstcd;
- var sinqrid;
- var slangflag;
-
- sInstcd = grd_amqb.valueMatrix(rowNum, grd_amqb.colRef("amqb_instcd")) ;
- sinqrid = grd_amqb.valueMatrix(rowNum, grd_amqb.colRef("amqb_inqrqestid")) ;
- slangflag = grd_amqb.valueMatrix(rowNum, grd_amqb.colRef("amqb_langflag")) ;
-
- model.setValue("/root/send/subretrive/instcd",sInstcd);
- model.setValue("/root/send/subretrive/inqrqestid",sinqrid);
- model.setValue("/root/send/subretrive/langflag",slangflag);
-
- submit("TRAHB04605",true); // 질문내용조회
- }
-
- // ----------------------------------------------------
- // 그리드 Row 추가 삭제 - 추가 일경우 기본 데이타 세팅
- // ----------------------------------------------------
- function fAddDelRow(sGrd, sStatus)
- {
- var rowNum;
- if( sStatus == 'D'){
- deleteSelectedRows(grd_amit, true);
- }
- }
-
- // ----------------------------------------------------
- //화면 그리드 조절
- // ----------------------------------------------------
- function fGridWidthcontrol(sGrd,sStatus)
- {
- // 질문 내역 그리드를 늘릴때
- if ( sGrd == "amit") {
- if(sStatus == "W") {
- grd_amit.attribute ("width") ="1000px";
- grd_amqb.visible = false;
- }
- }
-
- // 질문은행 내역 그리드를 늘릴때
- if ( sGrd == "amqb") {
- if(sStatus == "W") {
- grd_amqb.visible = true;
- grd_amit.attribute ("width") = "330px";
- grd_amqb.attribute ("left") = "530px";
- grd_amqb.attribute ("width") = "655px";
- }
- }
- // 원래 그대로 돌아갈때
- if(sStatus == "N") {
- grd_amqb.visible = true;
- grd_amit.attribute ("width") = "480px";
- grd_amqb.attribute ("left") = "680px";
- grd_amqb.attribute ("width") = "505px";
- }
- }
- // ----------------------------------------------------
- //데이터 처리
- // ----------------------------------------------------
- function fSave() {
- model.setValue("/root/send/amitlist", grd_amit.getUpdateData());
- submit("TXAHB04701", false);
- }
-
- // ----------------------------------------------------
- // 문진지별 문진분류 조회
- // ----------------------------------------------------
- function fRetriveReportQuryClsf()
- {
- model.removeNodeset("/root/disply/rptqrcl");
- model.removeNodeset("/root/main/list/treevalue");
- submit("TRAHB04702",false);
- }
-
- // ----------------------------------------------------
- // 문진지별 질문내용 조회
- // ----------------------------------------------------
- function fRetriveQuryReport(clsfid)
- {
- model.removeNodeset("/root/main/list/amitlist");
- model.setValue("/root/main/condition/rptclsf", clsfid);
- submit("TRAHB04703",false);
- }
- // ----------------------------------------------------
- // 선택된 질문을 문진지에 추가
- // ----------------------------------------------------
- function fAddQueryToReport()
- {
- var rowQCnt;
- var sinstcd ;
- var sinqrqestid ;
- var sqestflag ;
- var sqesttitl ;
- var sqestcnts ;
- var sinqrrptid ;
- var sfromdd;
-
-
- rowQCnt = grd_amqb.Rows;
- sinqrrptid = model.getValue("/root/main/condition/inqrrptid");
- sfromdd = model.getValue("/root/main/condition/wkdate");
-
- if (sinqrrptid == "") {
- model.alert("문진지가 선택되지 않았습니다... 문진지를 선택해 주세요");
- return;
- }
-
- for(var i =1; i < rowQCnt ; i++){
- if ( grd_amqb.valueMatrix(i, grd_amqb.colRef("itemuseyn")) == "Y" ) {
- sinstcd = grd_amqb.valueMatrix(i, grd_amqb.colRef("amqb_instcd"));
- sinqrqestid = grd_amqb.valueMatrix(i, grd_amqb.colRef("amqb_inqrqestid"));
- sqestflag = grd_amqb.valueMatrix(i, grd_amqb.colRef("amqb_qestflag"));
- sqesttitl = grd_amqb.valueMatrix(i, grd_amqb.colRef("amqb_qesttitl"));
- sqestcnts = grd_amqb.valueMatrix(i, grd_amqb.colRef("amqb_qestcnts"));
-
- grd_amit.addrow();
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_instcd")) = sinstcd ;
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_inqrrptid") ) = sinqrrptid;
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_inqrqestid")) = sinqrqestid ;
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_qestflag")) = sqestflag ;
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_qesttitl")) = sqesttitl ;
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_qestcnts")) = sqestcnts ;
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_fromdd")) = sfromdd;
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_todd")) = '29991231';
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_useyn")) = 'Y';
- grd_amit.valueMatrix(grd_amit.row, grd_amit.colRef("amit_prnseq")) = grd_amit.row;
- }
- }
- return 0;
- }//fAddQueryToReport END
-
- // ----------------------------------------------------
- // -- 문진지로 질문항목 Copy 기능
- // ----------------------------------------------------
- function fCopy() {
-
- var OrgRpt ;
- var CopRpt ;
-
- OrgRpt =model.getValue("/root/main/condition/inqrrptid");
- CopRpt =model.getValue("/root/main/condition/cpinqrrptid")
-
-
- if ( OrgRpt == "" ){model.alert("복사 할 원 문진지를 선택하여 주세요...","알림");return; }
- if ( CopRpt == "" ){model.alert("복사 할 대상 문진지를 선택하여 주세요...","알림");return; }
- if ( OrgRpt == CopRpt ) {model.alert("같은 문진지로 복사 할 수 없습니다...","알림");return; }
-
- submit("TXAHB04704", false);
- model.setValue("/root/main/condition/inqrrptid",CopRpt);
- fRetriveReportQuryClsf();
- model.refresh();
- }//fCopy end
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:500px; height:14px; ">[자동판정]문진지별 질문선택 관리1</caption>
- <caption id="caption1" style="left:225px; top:0px; width:300px; height:13px; font-weight:bold; color:#ff0000; ">* 문제와 답을 매핑하는 화면입니다.</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:697px; width:1190px; height:28px; ">
- <button id="button1" class="btn4_letter2" disabled="false" style="left:1130px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- fRetriveQuryReport("")
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter3" style="left:1055px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload();
- // fInit();
- // model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1190px; height:682px; ">
- <datagrid id="grd_amqb" nodeset="/root/main/list/amqblist" autoresize="true" caption="선택^기관코드^문항ID^제목^질문내용^유형" colsep="^" colwidth="50, 0, 51, 78, 389, 50" rowheader="update" rowsep="|" style="left:685px; top:80px; width:500px; height:600px; ">
- <col checkvalue="Y,N" ref="itemuseyn" type="checkbox"/>
- <col ref="amqb_instcd" visibility="hidden"/>
- <col ref="amqb_inqrqestid" maxlength="10"/>
- <col ref="amqb_qesttitl"/>
- <col ref="amqb_qestcnts"/>
- <col disabled="true" ref="amqb_qestflag" type="combo">
- <choices>
- <item>
- <label>질문</label>
- <value>Q</value>
- </item>
- <item>
- <label>설명</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- <col ref="ajrm_rmhng"/>
- <group id="group5" style="left:185px; top:10px; width:1000px; height:40px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:2px; width:999px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:940px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRetriveAmqbList();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line2" style="x1:935px; y1:5px; x2:935px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="combo4" ref="/root/main/condition/qrcl" class="combo_s_essential" appearance="minimal" style="left:625px; top:8px; width:175px; height:19px; ">
- <choices>
- <itemset nodeset="/root/disply/qrcllst">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //btn_search.dispatch("DOMActivate");
- // model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_name" style="left:480px; top:8px; width:143px; height:17px; ">질문은행 문진분류 :</caption>
- <input id="input2" ref="/root/main/condition/wkdate" class="input_s_essential" inputtype="date" style="left:65px; top:10px; width:105px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:5px; top:10px; width:65px; height:17px; ">일자 :</caption>
- <select1 id="rdo_sexflag" ref="/root/main/condition/sexflag" overflow="visible" appearance="full" cols="3" style="left:800px; top:7px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>남자</label>
- <value>M</value>
- </item>
- <item>
- <label>여자</label>
- <value>F</value>
- </item>
- <item>
- <label>공통</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption3" class="tit_2" style="left:684px; top:59px; width:87px; height:14px; ">질문은행</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:180px; y2:75px; ">--화면 import 방법</line>
- <caption id="caption5" class="tit_2" style="left:5px; top:59px; width:126px; height:13px; ">문진지별 문진분류</caption>
- <button id="button5" class="icon_left" visibility="visible" style="left:1158px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amqb" ,"W");
- ]]>
- </script>
- </button>
- <button id="button8" class="icon_top_direction" visibility="visible" style="left:1131px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amqb" ,"N");
- ]]>
- </script>
- </button>
- <button id="button10" class="btn5_letter4" disabled="false" visibility="hidden" style="left:535px; top:55px; width:64px; height:19px; ">
- <caption>동일답안</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSameAnswSave();
- ]]>
- </script>
- </button>
- <datagrid id="grd_amit" nodeset="/root/main/list/amitlist" autoresize="true" caption="기관코드^문진지ID^문진분류^문항ID^질문번호^유형^제목^질문내용^필수여부^시작일^종료일^사용여부^출력순서^최초등록자^최종수정자" colsep="^" colwidth="0, 0, 100, 49, 73, 41, 100, 310, 60, 72, 70, 70, 70, 70, 70" rowheader="update" rowsep="|" style="left:185px; top:80px; width:495px; height:600px; ">
- <col ref="amit_instcd" visibility="hidden"/>
- <col ref="amit_inqrrptid" visibility="hidden"/>
- <col ref="amit_ajclscd" type="combo">
- <choices>
- <itemset nodeset="/root/disply/rptqrcl">
- <label ref="ajclsnm"/>
- <value ref="ajclscd"/>
- </itemset>
- </choices>
- </col>
- <col ref="amit_inqrqestid"/>
- <col ref="amit_qestno" type="input" visibility="hidden"/>
- <col disabled="true" ref="amit_qestflag" type="combo">
- <choices>
- <item>
- <label>질문</label>
- <value>Q</value>
- </item>
- <item>
- <label>설명</label>
- <value>E</value>
- </item>
- </choices>
- </col>
- <col ref="amit_qesttitl"/>
- <col ref="amit_qestcnts"/>
- <col checkvalue="Y,N" ref="amit_essnchoiflag" type="checkbox"/>
- <col ref="amit_fromdd" type="input"/>
- <col ref="amit_todd" type="input"/>
- <col checkvalue="Y,N" ref="amit_useyn" type="checkbox"/>
- <col ref="amit_prnseq" type="input" style="text-align:center; "/>
- <col ref="amit_fstrgstrid" style="text-align:center; "/>
- <col ref="amit_lastupdtrid" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_amit.col == grd_amit.colRef("amit_inqrqestid")){
- model.removeNodeset("/root/main/list/amawlist");
- model.setValue("/root/main/condition/inqrqestid", model.getValue("/root/main/list/amitlist['"+ grd_amit.row +"']/amit_inqrqestid"));
- model.setValue("/root/main/condition/langflag", "KOR");
- submit("TRAHB04605",false); // 질문내용조회
- grd_amaw.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_delitem" class="btn2_letter3" style="left:626px; top:55px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddDelRow("amit", "D");
- ]]>
- </script>
- </button>
- <button id="btn_additem" class="btn2_letter3" style="left:1050px; top:55px; width:53px; height:19px; ">
- <caption>보내기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddQueryToReport();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn5_letter2" disabled="false" style="left:480px; top:55px; width:42px; height:19px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopy("ALL","N");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter4" visibility="hidden" style="left:885px; top:55px; width:64px; height:19px; ">
- <caption>미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_lattrmqest.valueMatrix(grd_lattrmqest.row, grd_lattrmqest.colRef("itemid")) == ""){
- messageBox("선택된 문항이 없습니다.", "I", "");
- }else{
- model.setFocus("grd_item");
- grd_item.insertRow(grd_item.row, "below", true);
- grd_item.valueMatrix(grd_item.row, grd_item.colRef("itemid")) = grd_lattrmqest.valueMatrix(grd_lattrmqest.row, grd_lattrmqest.colRef("itemid"));
- }
- ]]>
- </script>
- </button>
- <select1 id="combo2" ref="/root/main/condition/cpinqrrptid" class="combo_s_essential" appearance="minimal" style="left:373px; top:55px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/disply/langlst">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption8" class="cell_1" style="left:316px; top:57px; width:54px; height:17px; ">문진지 :</caption>
- <button id="button7" class="icon_right" visibility="visible" style="left:1104px; top:55px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGridWidthcontrol("amit" ,"W");
- ]]>
- </script>
- </button>
- <caption id="caption10" class="tit_2" style="left:185px; top:59px; width:126px; height:14px; ">문진지별 문제</caption>
- <treeview id="trvclsf" ref="/root/main/list/treevalue" buttoncolor="#ff00ff" expandedimage="tree_select.bmp" hasbuttons="true" hasimages="true" haslines="true" image="tree_normal.bmp" itemsettype="depth" linecolor="#0000ff" singleexpand="false" depth="3" style="left:0px; top:80px; width:180px; height:350px; font-family:돋움; ">
- <itemset nodeset="/root/disply/rptqrcl">
- <label ref="ajclsnm"/>
- <value ref="ajclscd"/>
- <depth ref="trdpth"/>
- </itemset>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if( trvclsf.selectedindex == -1 ){
- messageBox("해당 아이템을 선택하세","I999");
- }else{
- fRetriveQuryReport(trvclsf.item(trvclsf.selectedindex).value);
- grd_amit.mergecol(1) = false;
- grd_amit.mergecol(2) = false;
- grd_amit.mergecol(4) = false;
- grd_amit.mergecol(5) = false;
- grd_amit.mergecol(6) = false;
- grd_amit.mergecol(7) = false;
- grd_amit.mergecol(8) = false;
- grd_amit.mergecol(9) = false;
- grd_amit.mergecol(10) = false;
- grd_amit.mergecol(11) = false;
- grd_amit.mergecol(12) = false;
- grd_amit.mergecol(13) = false;
- grd_amit.mergecol(14) = false;
- grd_amit.mergecol(15) = false;
-
- grd_amit.mergecells = "bycol";
-
- model.refresh();
- }
- ]]>
- </script>
- </treeview>
- <line id="line3" class="line_1" style="x1:185px; y1:75px; x2:680px; y2:75px; ">--화면 import 방법</line>
- <line id="line4" class="line_1" style="x1:685px; y1:75px; x2:1185px; y2:75px; ">--화면 import 방법</line>
- <group id="group3" style="left:0px; top:10px; width:180px; height:40px; ">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:180px; height:35px; "/>
- <select1 id="combo1" ref="/root/main/condition/inqrrptid" appearance="minimal" style="left:75px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/disply/langlst">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fRetriveReportQuryClsf();
- model.refresh();
- // fRetriveQuryReport();
- ]]>
- </script>
- </select1>
- <caption id="caption4" class="search_name" visibility="visible" style="left:2px; top:10px; width:86px; height:17px; ">문진지 :</caption>
- </group>
- <line id="line5" class="line_1" style="x1:0px; y1:450px; x2:180px; y2:450px; ">--화면 import 방법</line>
- <caption id="caption9" class="tit_2" style="left:0px; top:435px; width:126px; height:13px; ">답안</caption>
- <datagrid id="grd_amaw" nodeset="/root/main/list/amawlist" autoresize="true" caption="기관코드^질문ID^언어^답ID^제목^내용^순서^디폴트^추가질문1^추가질문2^추가질문3^요약" colsep="^" colwidth="0, 0, 0, 32, 0, 217, 35, 45, 140, 140, 140, 32" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:455px; width:180px; height:225px; ">
- <col ref="amaw_instcd" visibility="hidden"/>
- <col ref="amaw_inqrqestid" visibility="hidden"/>
- <col ref="amaw_langflag" visibility="hidden"/>
- <col disabled="true" ref="amaw_answreqno" type="output" visibility="hidden"/>
- <col ref="amaw_answtitl" visibility="hidden"/>
- <col disabled="true" ref="amaw_answcnts" type="input"/>
- <col disabled="true" ref="amaw_seq" type="input" maxlength="2"/>
- <col checkvalue="Y,N" disabled="true" ref="amaw_defaulyn" type="checkbox"/>
- <col disabled="true" ref="amaw_addqest1" type="input"/>
- <col disabled="true" ref="amaw_addqest2" type="input"/>
- <col disabled="true" ref="amaw_addqest3" type="input"/>
- <col checkvalue="Y,N" disabled="true" ref="amaw_summyn" type="checkbox"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- <button id="button2" class="btn2_letter4" style="left:985px; top:55px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chk = "";
- if(model.getValue("/root/main/list/amqblist/itemuseyn" ) == "Y"){
- chk = "N";
- }else{
- chk = "Y";
- }
-
- for( var i = 1 ; i <= getNodesetCount("/root/main/list/amqblist") ; i++){
- model.setValue("/root/main/list/amqblist['"+ i +"']/itemuseyn" , chk);
- }
-
- grd_amqb.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|